dsyslog-module-postgresql software package provides advanced modular syslog daemon - PostgreSQL support, you can install in your Ubuntu 16.04 LTS (Xenial Xerus) by running the commands given below on the terminal,
$ sudo apt-get update $ sudo apt-get install dsyslog-module-postgresql
dsyslog-module-postgresql is installed in your system.
Make ensure the dsyslog-module-postgresql package were installed using the commands given below,
$ sudo dpkg-query -l | grep dsyslog-module-postgresql *
You will get with dsyslog-module-postgresql package name, version, architecture and description in a table
| Distro | Ubuntu 16 04 lts xenial xerus |
| Section | Administration Utilities |
| Package | dsyslog-module-postgresql |
| Version | 0.6.0+nmu2ubuntu2 |
| Description | advanced modular syslog daemon - PostgreSQL support |
| Sub Section | admin |